package com.boottest.better.test.contextrefreshevent;

import org.springframework.boot.CommandLineRunner;
import org.springframework.core.Ordered;
import org.springframework.stereotype.Component;

@Component
public class MyBean implements CommandLineRunner, Ordered {

    @Override
    public void run(String... arg0) throws Exception {

        System.out.println("this.is mybean");

    }

    @Override
    public int getOrder() {

        return Ordered.LOWEST_PRECEDENCE;
    }

}
